package com.wyiot.core.enums;

/**
 * @author yly
 * @since 2022年03月28日
 */

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
@Getter
public enum  PetTypeEnum {
    Dog(0, "狗"),
    Cat(1, "猫"),
    Bread(2, "鸟"),
    Bug(3, "爬虫"),
    Other(4, "其他")
    ;
    @EnumValue
    private final Integer  code;
    @JsonValue
    private final String remark;

    PetTypeEnum(Integer code,String remark) {
        this.code= code;
        this.remark=remark;
    }

}
